Skip to content

Fix snake game boundary mode and added boundary feature fixed issue #66#78

Merged
venisha-kalola merged 1 commit into
commitra:mainfrom
AyushGupta011:fix-boundary-mode
Oct 17, 2025
Merged

Fix snake game boundary mode and added boundary feature fixed issue #66#78
venisha-kalola merged 1 commit into
commitra:mainfrom
AyushGupta011:fix-boundary-mode

Conversation

@AyushGupta011
Copy link
Copy Markdown
Contributor

@AyushGupta011 AyushGupta011 commented Oct 16, 2025

Add Boundary Mode Handling for Snake Game

Description

  • Added Boundary Mode collision detection: game ends when snake touches the boundary.
  • Displays Game Over overlay and updates Start button to restart the game.
  • Normal mode (wrap-around) behavior remains unchanged.
  • Refactored moveSnake() and tick() to handle both modes.

Testing

  • Verified boundary collision ends the game correctly.
  • Verified Start button works after game over.
  • Verified normal mode wrap-around still works.

fixed issue #66

Screenshots

Screenshot 2025-10-17 004504

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 16, 2025

@AyushGupta011 is attempting to deploy a commit to the hrishikesh-dalal's projects Team on Vercel.

A member of the Team first needs to authorize it.

@venisha-kalola venisha-kalola merged commit e3098b9 into commitra:main Oct 17, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants